package com.ftg.midamall.mapper;

import com.ftg.midamall.entity.PmsBrand;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 品牌表 Mapper 接口
 * </p>
 *
 * @author qjw
 * @since 2023-11-02
 */
@Mapper
public interface PmsBrandMapper extends BaseMapper<PmsBrand> {

    int updateById(@Param("brand") PmsBrand brand , @Param("id") Long id);

    PmsBrand selectByName(@Param("name") String name);
}
